package br.ita.comp.ces22.quiz.core.dao.jdbc;

import br.ita.comp.ces22.quiz.core.dao.DAO;
import br.ita.comp.ces22.quiz.core.dao.DAOFactory;
import br.ita.comp.ces22.quiz.core.dao.QuizDAO;
import br.ita.comp.ces22.quiz.core.dao.UserDAO;
import br.ita.comp.ces22.quiz.domain.Question;

public class JDBCDAOFactory extends DAOFactory{
	
	public  UserDAO getUserDAO(){	
		return new UserJDBCDAO();
	}

	public DAO<Question> getQuestionsDAO() {
		return new QuestionJDBCDAO();
	}
	
	public QuizDAO getQuizDAO() {
		return new QuizJDBCDAO();
	}
}
